package org.example.sort;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;

public class Run {
    public static void main(String... args){

        ExecutorService service = Executors.newFixedThreadPool(20);
        service.submit(new Runnable() {
            @Override
            public void run() {
                SelectSort sort = new SelectSort();
                int[] datas = sort.getDatas(10000);
                while (true){
                    sort.sort(datas);
                }
            }
        });
    }
}
